﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PBOfficeMaster.master" AutoEventWireup="true"
    CodeFile="MySchedule.aspx.cs" Inherits="ScheduleManager_MySchedule" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link type="text/css" rel="Stylesheet" href="../css/ScheduleManagerCss.css" />
    <style type="text/css">
        .style1
        {
            height: 34px;
        }
        .style2
        {
            height: 29px;
        }
    </style>
    <script type="text/javascript">

        function imgClik(width, height) {
            var me;
            // 把父页面窗口对象当作参数传递到对话框中，以便对话框操纵父页自动刷新。 
            me = window;
            // 显示对话框。 
            var a = window.showModalDialog("user.aspx", me, 'dialogWidth=' + width + 'px;dialogToolbar=0;dialogScrollbars=0;dialogLocation=0;dialogStatus=0;dialogMenubar=0;dialogResize=0;dialogHeight=' + height + 'px;help:no;status:no')
            if (typeof (a) != "undefined")

            //返回值赋给TextBox
                window.document.getElementById("txtDept").value = a;
            alert(a);
        } 
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div style="width: 864px;">
        <div class="branchtop">
            <table>
                <tr>
                    <td>
                        当前位置
                    </td>
                    <td>
                        <div class="lbBranch">
                            我的日程安排</div>
                    </td>
                </tr>
            </table>
        </div>
        <hr />
        <div style="font: 14px; margin-left: 50px; text-align: left;">
            主题：<asp:TextBox ID="txtTitle" runat="server" CssClass="txt" Height="16px" Width="464px"></asp:TextBox></div>
        <div style="font-size: 14px; margin-left: 50px;">
            <table>
                <tr>
                    <td class="style1">
                        地点：<asp:TextBox ID="txtAddress" CssClass="txt" runat="server"></asp:TextBox>
                        &nbsp;&nbsp;&nbsp;
                    </td>
                    <td class="style1">
                        会员类型：<asp:DropDownList 
                            ID="ddlType" runat="server" DataTextField="MeetingName" DataValueField="MeetingId" Height="20px" Width="150px">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        开始时间---<asp:TextBox ID="txtBegin" CssClass="txt" runat="server"></asp:TextBox>
                    </td>
                    <td rowspan="2">
                        <asp:TextBox ID="txtContent" TextMode="MultiLine" runat="server" CssClass="txt" Height="89px"
                            Width="547px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        结束时间---<asp:TextBox ID="txtEnd" CssClass="txt" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        预约他人：
                        <img id="yuyue" runat="server" alt="ff" src="../imges/sanren.jpg" />
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Button ID="btnDeleteName" CssClass="btnBranch1" runat="server" 
                            Text="删除选定预约的人" onclick="btnDeleteName_Click" />
                    </td>
                    <td>
                        <asp:ListBox ID="lbStfName" runat="server" BackColor="#66ccfd" Height="136px" Width="211px">
                        </asp:ListBox>
                    </td>
                </tr>
                <tr>
                    <td class="style2">
                        选项：<asp:CheckBox ID="cbIfPublic" runat="server" ForeColor="Blue" Text="是否公开" />
                    </td>
                    <td class="style2">
                        创建者：<asp:Label ID="lbCreateName" runat="server" Text="Label"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        创建日期：<asp:Label ID="lbCreateDate" runat="server" Text="Label"></asp:Label>
                    </td>
                </tr>
            </table>
        </div>
        <div style="text-align: left; padding-left: 50px; margin-top: 10px;">
            <asp:Button ID="btnSaveCancle" runat="server" CssClass="btnBranch" Text="保存退出" 
                onclick="btnSaveCancle_Click" />&nbsp;&nbsp;
            <asp:Button ID="btnDelete" runat="server" CssClass="btnBranch" Text="删除" 
                onclick="btnDelete_Click" />&nbsp;&nbsp;
            <asp:Button ID="btnCancle" CssClass="btnBranch" runat="server" Text="退出" 
                onclick="btnCancle_Click" /></div>
    </div>
</asp:Content>
